Buffalo relied on James Cook, who had 117 yards and two touchdowns on the ground, Ty Johnson added a third rushing touchdown, and the Bills snuck past the Cleveland Browns 23-20.